#include <stdio.h>
#include <string.h>
#define   N     80
void fun(char *s, char t[])
{  int  i, j=0;
   for(i=0; i<(int)strlen(s); i++)
/***********found**********/
   if(i%2 || s[i]%2==0)
        t[j++]=s[i];
/***********found**********/
   t[j]='\0';
}
main()
{  char  s[N], t[N];
   printf("\nPlease enter string s : "); gets(s);
   fun(s, t);
   printf("\nThe result is : %s\n",t);
   getchar();
}
